<?php 
require_once('../../libraryfiles/config.php');
$sql = "DELETE FROM ".Tblpage::tblpages." WHERE ".Tblpage::id." IN"."(".$_GET['checkId'].")";
$result= mysql_query($sql);
if($result==true){
	$idp = explode(',',$_GET['checkId']);?>
	<script type="text/javascript">
		$(document).ready(function(){
		<?php foreach ($idp as  $value) {?>
			$("#page<?php echo $value;?>").fadeOut();
		<?php } ?>
		});
	</script>
	<?php
} else {
}